package com.yeyks.other.dal.domain;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 地址信息表
 * </p>
 *
 * @author yun
 * @since 2019-06-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="AddressDivision对象", description="地址信息表")
public class AddressDivision implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "div_id",type = IdType.INPUT)
    private String divId;

    @ApiModelProperty(value = "行政区划代码")
    @TableField("div_code")
    private String divCode;

    @ApiModelProperty(value = "行政区划名称")
    @TableField("div_name")
    private String divName;

    @ApiModelProperty(value = "拼音名称")
    @TableField("pinyin")
    private String pinyin;

    @ApiModelProperty(value = "上级行政区划代码")
    @TableField("div_code_parent")
    private String divCodeParent;

    @ApiModelProperty(value = "行政区划等级")
    @TableField("div_level")
    private String divLevel;

    @ApiModelProperty(value = "行政区划完整名称")
    @TableField("div_full_name")
    private String divFullName;

    @ApiModelProperty(value = "离馆距离")
    @TableField("div_distance")
    private Integer divDistance;

    @ApiModelProperty(value = "是否本地")
    @TableField("div_is_local")
    private Integer divIsLocal;

    @ApiModelProperty(value = "记录是否启用生效，1表示生效，0表示无效")
    @TableField("enable")
    private Integer enable;


    public static final String DIV_ID = "div_id";

    public static final String DIV_CODE = "div_code";

    public static final String DIV_NAME = "div_name";

    public static final String PINYIN = "pinyin";

    public static final String DIV_CODE_PARENT = "div_code_parent";

    public static final String DIV_LEVEL = "div_level";

    public static final String DIV_FULL_NAME = "div_full_name";

    public static final String DIV_DISTANCE = "div_distance";

    public static final String DIV_IS_LOCAL = "div_is_local";

    public static final String ENABLE = "enable";

}
